package com.ocom.common.entity.human;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "roommate_info")
public class EntityRoommateInfo extends EntityBase implements Serializable {

  private static final long serialVersionUID = 2270173801484300859L;
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  private Long pId;
  private Long comId;
  private String name;
  private String type;
  private String phone;
  private String identity;
  private String ykmStr;
  private String encryPhone;
  private String encryIdentity;
  private String ykmInfo;
  private String codeColor;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date colorTime;
  private String hsResult;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date hsTime;
  private Long ymNum;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date ymTime;
  private String reason;
  //人脸照片
  private String url;

  private String callWay;
  private String openid;

}
